package com.wsoft.portal.vo.module;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * @Author z001
 * @Date 2025/1/2 13:14
 */
@Data
public class RenderModuleVO {
    @Schema(description = "id")
    private Long id;

    @Schema(description = "所属空间")
    private Long portalId;

    @Schema(description = "排序")
    private Integer sort;

    @Schema(description = "标题是否显示")
    private Integer titleHidden;

    @Schema(description = "标题背景透明度")
    private BigDecimal titleBgOpacity;

    @Schema(description = "表体高度")
    private Integer bodyHeight;

    @Schema(description = "表体背景色")
    private String bodyBg;

    @Schema(description = "表体背景透明度")
    private BigDecimal bodyBgOpacity;

    @Schema(description = "宽度")
    private Integer width;

    @Schema(description = "高度")
    private Integer height;

    @Schema(description = "x轴")
    private BigDecimal axisX;

    @Schema(description = "y轴")
    private BigDecimal axisY;

    @Schema(description = "列数")
    private Integer widthCount;

    @Schema(description = "子栏目")
    private List<RenderModuleSubVO> subList;
}
